import { BUILD_RECEIVED, BUILD_INIT } from '../action/actionBuild';
export function buildList (state = {}, action) {
    switch (action.type) {
    case BUILD_RECEIVED:
        return Object.assign({}, state, {
            build: action.build,
        });
    case BUILD_INIT:
        return Object.assign({}, state, {
            build: action.build,
        });
    default:
        return state;
    }
}
